package com.combining.d_factory.impl;

import com.combining.d_factory.face.AbstractDuckFactory;
import com.combining.d_factory.face.Quackable;

/**
 * 普通鸭子工厂
 * 
 * @author dell
 * 
 */
public class DuckFactory extends AbstractDuckFactory {

	public Quackable createMallardDuck() {
		return new MallardDuck();
	}

	public Quackable createRedheadDuck() {
		return new RedheadDuck();
	}

	public Quackable createDuckCall() {
		return new DuckCall();
	}

	public Quackable createRubberDuck() {
		return new RubberDuck();
	}
}
